Skip to content

gh-149392: Add "Open Input in Editor" support in PyREPL#149393

Closed
tanloong wants to merge 6 commits intopython:mainfrom
tanloong:pyrepl-edit-in-external-editor
Closed

gh-149392: Add "Open Input in Editor" support in PyREPL#149393
tanloong wants to merge 6 commits intopython:mainfrom
tanloong:pyrepl-edit-in-external-editor

Conversation

@tanloong
Copy link
Copy Markdown
Contributor

@tanloong tanloong commented May 5, 2026

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 5, 2026

tanloong added 2 commits May 6, 2026 21:19
Problem: Suppose type 'im' in PyREPL and then enter editor, completing the statement 'import os'. After saving and exiting, there will be '>>> im>>> import os' instead of '>>> import os'.

With a 'r.console.repaint()', the problem is gone, but only on Linux. On Windows, the 'replaint()' is not implemented in windows_console.py and the '>>> im>>> import os' problem persists. I suppose 'replaint()' is not the way to go.

Remove 'r.console.repaint()' and go to find a solution workable on all platforms, not only Linux.
@picnixz
Copy link
Copy Markdown
Member

picnixz commented May 10, 2026

Closing because this feature did not gather any support for now. Don't open issues or PRs if there is no support please. A DPO thread is meant to gather support before opening an issue.

@picnixz picnixz closed this May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants